package cn.jn.lhm.teacher.entity.frontvo;

import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 封装用于返回前端的对象
 * 组装了课程的简介，讲师的信息，课程分类的信息，课程的基本信息
 * @author LHM
 * @Tips 热爱每一天，奋斗每一天
 * @date 2020/6/14 - 19:53
 */
@Data
@Accessors(chain = true)
public class CourseDataVo {

    private String id;

    private BigDecimal price;

    private String title;

    private String cover;

    private Integer lessonNum;

    private Long viewCount;

    private Long buyCount;

    private String teacherId;

    private String teacherName;

    private String intro;

    private String avatar;

    private String subjectId;

    private String subjectName;

    private String subjectParentId;

    private String subjectParentName;

    private String description;
}
